package org.poseidon.report.converter;


import org.poseidon.report.domain.BuDiary;
import org.poseidon.report.domain.vo.BuDiaryVO;
import org.poseidon.report.input.BuDiaryInput;
import org.springframework.beans.BeanUtils;

/**

 * @Date: 2022/2/23 14:04
 * @Description:
 */
public class DiaryConverter {

    public static BuDiaryVO convertInputToDiary(BuDiaryInput input) {
        BuDiaryVO buDiary = new BuDiaryVO();
        BeanUtils.copyProperties(input, buDiary);
        return buDiary;
    }
}
